<template>
  <div class="common-layout">
    <el-container>
      <el-header height="100px">
        <!-- 头部 -->
        <my-header></my-header>
      </el-header>
      <el-container>
        <!-- 侧边栏 -->
        <my-aside></my-aside>
        <el-main>
          <div class="main">
            <router-view />
          </div>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup lang="ts">
import myHeader from "@/components/Header.vue"
import myAside from "@/components/Aside.vue"
</script>

<style lang="scss">
.common-layout {
  width: 100%;
  height: 100%;
  display: flex;
  .el-header {
    padding: 0;
    width: 100%;
    display: flex;
  }
  .main{
    background-color: #fff;
    height: 100%;
    padding: 24px;
  }
}
</style>
